package com.xxx.blog.service;



import com.xxx.blog.domain.Article;
import com.xxx.blog.query.ArticleQuery;
import com.xxx.blog.vo.GdVo;

import java.util.List;

public interface IArticleService {
    List<Article> findAll();
    Article findOne(Long id);

    List<Article> queryPage(ArticleQuery ArticleQuery);

    void addArticle(Article Article);
    void updateArticle(Article Article);

    void deleteArticle(Long id);
    void batchArticles(Long[] ids);


    Article getByFileName(String fileName);

    List<GdVo> getGd();

    List<Article> getRa(Long id);

    List<Article> archiveDetail(String yearMonth);
}
